from flask import Flask
from .admin import admin as admin_blueprint
from .sql import sql as sql_blueprint
from .p_bcjl import bcjl as bcjl_blueprint

def create_app():
    my_app = Flask(__name__)
    my_app.register_blueprint(admin_blueprint)
    my_app.register_blueprint(sql_blueprint)
    my_app.register_blueprint(bcjl_blueprint)
    return my_app